// ref00Doc.h : interface of the CRef00Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_REF00DOC_H__A4B29FB3_85AE_45C9_BFEC_69AD436E14AC__INCLUDED_)
#define AFX_REF00DOC_H__A4B29FB3_85AE_45C9_BFEC_69AD436E14AC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "../l_lexer/nlexer.h"
#include "../l_lexer/cpp_kw.h"
#include "../l_lexer/npreparser.h"

class CRef00Doc : public CDocument
{
protected: // create from serialization only
	CRef00Doc();
	DECLARE_DYNCREATE(CRef00Doc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRef00Doc)
	public:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CRef00Doc();
#ifdef _DEBUG
#endif

protected:
	NLexer m_LA;
	
public:
//@	void LoadNode(TID tid, HTREEITEM item);
//@	void LoadTree();
	void LoadList();
	CTreeCtrl *m_pTree;
	void LoadTreeLevel(NLexTree &ast, LTPOS locroot, HTREEITEM node);

// Generated message map functions
protected:
	//{{AFX_MSG(CRef00Doc)
//@	afx_msg void OnTagOpen();
//@	afx_msg void OnTagSave();
	afx_msg void OnFileOpen();
	afx_msg void OnFileSave();
	afx_msg void OnFileLex();
	afx_msg void OnFilePreParse();
	afx_msg void OnFileIni();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REF00DOC_H__A4B29FB3_85AE_45C9_BFEC_69AD436E14AC__INCLUDED_)
